package com.sj.parksdk.net.result.databean;

import java.math.BigDecimal;

public class Data_PayRecord_Detail {

    /**
     * carNo : 苏-N161T5
     * orderNo : 00202006232490856778180608
     * tradeNo : 21202007062500275413807104
     * paidFee : 96
     * discountFee : 0
     * totalFee : 96
     * payTypeName : 微信支付
     * createTime : 1594044375755
     * paidTime : 1594044385733
     * parkingLotName : 淮安七星水岸
     * chargeBeginTime : 1594833375000
     * chargeEndTime : 1594833387000
     * chargeTime : 0分
     */

    private String carNo;
    private String orderNo;
    private String tradeNo;
    private BigDecimal paidFee;
    private BigDecimal discountFee;
    private BigDecimal totalFee;
    private String payTypeName;
    private long createTime;
    private long paidTime;
    private String parkingLotName;
    private long chargeBeginTime;
    private long chargeEndTime;
    private String chargeTime;

    public String getCarNo() {
        return carNo;
    }

    public void setCarNo(String carNo) {
        this.carNo = carNo;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public BigDecimal getPaidFee() {
        return paidFee;
    }
    public String getPaidFeeStr() {
        return paidFee == null?"":"¥"+paidFee.toString();
    }

    public void setPaidFee(BigDecimal paidFee) {
        this.paidFee = paidFee;
    }

    public BigDecimal getDiscountFee() {
        return discountFee;
    }
    public String getDiscountFeeStr() {
        if(discountFee == null)return "未使用";
        if(discountFee.compareTo(new BigDecimal("0.00")) == -1)return "未使用";
        return "－¥"+discountFee.toString();
    }

    public void setDiscountFee(BigDecimal discountFee) {
        this.discountFee = discountFee;
    }

    public BigDecimal getTotalFee() {
        return totalFee;
    }
    public String getTotalFeeStr() {
        return totalFee == null?"":"¥"+totalFee.toString();
    }

    public void setTotalFee(BigDecimal totalFee) {
        this.totalFee = totalFee;
    }

    public String getPayTypeName() {
        return payTypeName;
    }

    public void setPayTypeName(String payTypeName) {
        this.payTypeName = payTypeName;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public long getPaidTime() {
        return paidTime;
    }

    public void setPaidTime(long paidTime) {
        this.paidTime = paidTime;
    }

    public String getParkingLotName() {
        return parkingLotName;
    }

    public void setParkingLotName(String parkingLotName) {
        this.parkingLotName = parkingLotName;
    }

    public long getChargeBeginTime() {
        return chargeBeginTime;
    }

    public void setChargeBeginTime(long chargeBeginTime) {
        this.chargeBeginTime = chargeBeginTime;
    }

    public long getChargeEndTime() {
        return chargeEndTime;
    }

    public void setChargeEndTime(long chargeEndTime) {
        this.chargeEndTime = chargeEndTime;
    }

    public String getChargeTime() {
        return chargeTime;
    }

    public void setChargeTime(String chargeTime) {
        this.chargeTime = chargeTime;
    }
}
